package com.feiyuan.core.mapper;

import com.feiyuan.core.pojo.entity.AdminRoleMenu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Xupf
 * @since 2022-09-06
 */
public interface AdminRoleMenuMapper extends BaseMapper<AdminRoleMenu> {

    /**
     * 查询用户的权限
     * @param userId
     * @return
     */
    List<String> selectUserMenus(@Param("userId") Long userId);
}
